package com.atguigu.boot.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author anan
 * @create 2021-08-22 19:19
 */
@RestController
public class HelloController {

    @GetMapping("/2.jpg")
    //@RequestMapping("/2.jpg")
    public String hello(){
        return "返回这个请求";
    }
}
